<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    div{
        border: 5px red solid;
        padding: 10px;
        margin:20px ;
    }
    p{
        border: 4px solid green;
        background-color: blue;
        padding: 10px;
        margin: 14px 32px;
        width: 300px;
        height: 100px;
        
    }
</style>
<body>
    <div>
        一切皆盒子
        <p>这里是段落1</p>
        <p>这里是段落2</p>
        网页就是由盒子提出来的
    

    </div>
   
    
</body>
</html>